home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Status Bar Scroller.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
2KB
|
70 lines
[SUBJECT]
Description=Scroll a message in the status bar
ImageIndex=-1
Folder=Text Effects
[HEAD_TEXT]
;<!-- Cut-N-Paste JavaScript from ISN Toolbox
; Copyright 1996, Infohiway, Inc. Restricted use is hereby
; granted (commercial and personal OK) so long as this code
; is not *directly* sold and the copyright notice is buried
; somewhere deep in your HTML document. A link to our site
; http://www.infohiway.com is always appreciated of course,
; but is absolutely and positively not necessary. ;-) -->
;<SCRIPT LANGUAGE="JavaScript">
;<!--Hide JavaScript from Java-Impaired Browsers
;var cmd;
;function isnscroll(hype) {
; var shameless = 100;
; var prtspc = " ";
; var col = 1;
; /* You could use array here, but this is easy way to load messages
; Unlike HTML documents, multiple adjoining spaces are preserved */
; var promotional="`scroll_text`";
; if (hype>shameless) {
; hype--;
; cmd="isnscroll(" + hype + ")";
; isntimer=window.setTimeout(cmd,shameless);
; }
; else if (hype<=shameless && hype>0) {
; for (col=0;col<hype;col++) {
; prtspc+=" ";
; }
; prtspc+=promotional;
; hype--;
; cmd="isnscroll(" + hype + ")";
; window.status=prtspc;
; isntimer=window.setTimeout(cmd,shameless);
; }
; else if (hype<=0) {
; if (-hype<promotional.length) {
; prtspc+=promotional.substring(-hype,promotional.length);
; hype--;
; cmd="isnscroll(" + hype + ")";
; window.status=prtspc;
; isntimer=window.setTimeout(cmd,100);
; }
; else {
; window.status=" ";
; isntimer=window.setTimeout("isnscroll(100)",75);
; }
; }
;}
;function startit() {
; isntimer=window.setTimeout("isnscroll(100)",500);
;}
;// Stop Hiding Contents -->
;</SCRIPT>
[BODY_TAG]
;onLoad="startit()"
[`scroll_text`]
Kind=S
Value=Message One Message Two Message Three, etc.